import { createRouter, createWebHistory } from "vue-router"
import Page1 from "@/components/page/page1.vue"
import Page2 from "@/components/page/page2.vue"
import Page3 from "@/components/page/page3.vue"
import Page4 from "@/components/page/page4.vue"
import Page5 from "@/components/page/page5.vue"
import Page6 from "@/components/page/page6.vue"

const router = createRouter({
	// 路由的模式
	history: createWebHistory(),
	routes: [
		{
			path: "/15",
			component: Page1,
		},
		{
			path: "/14",
			component: Page2,
		},
		{
			path: "/13",
			component: Page3,
		},
		{
			path: "/12",
			component: Page4,
		},
		{
			path: "/11",
			component: Page5,
		},
		{
			path: "/x",
			component: Page6,
		},
	],
})

export default router
